SftTree/OCX 7.0

SftTree.CellItemDataString Property

Softel vdm, Inc.

Defines a cell's application specific string value.

Deprecated - Provided for compatibility with earlier versions only - Cell.DataString instead

Syntax       

Get

VB.NET

Data = object.get_CellItemDataString(ByVal ItemIndex As Integer, ByVal ColIndex As Short)  As String

VB

Data = object.CellItemDataString(ByVal ItemIndex As Long, ByVal ColIndex As Integer)  As String

C#.NET

string Data = object.get_CellItemDataString(int ItemIndex, short ColIndex);

VC++

_bstr_t Data = object->CellItemDataString[long ItemIndex][short ColIndex];
_bstr_t Data = object->GetCellItemDataString(long ItemIndex, short ColIndex);

C

HRESULT object->get_CellItemDataString(long ItemIndex, short ColIndex, BSTR* Data);

Delphi

Data := object.CellItemDataString[ItemIndex : Integer; ColIndex : Smallint]   : WideString;

Put

VB.NET

object.set_CellItemDataString(ByVal ItemIndex As Integer, ByVal ColIndex As Short, ByVal Data As String)

VB

object.CellItemDataString(ByVal ItemIndex As Long, ByVal ColIndex As Integer) = Data  As String

C#.NET

void object.set_CellItemDataString(int ItemIndex, short ColIndex, string Data);

VC++

_bstr_t object->CellItemDataString[long ItemIndex][short ColIndex] = Data;
void object->PutCellItemDataString(long ItemIndex, short ColIndex, _bstr_t Data);

C

HRESULT object->put_CellItemDataString(long ItemIndex, short ColIndex, BSTR Data);

Delphi

object.CellItemDataString[ItemIndex : Integer; ColIndex : Smallint] := Data   : WideString;

object

A SftTree object.

ItemIndex

The zero-based item index.  The combination of ItemIndex and ColIndex describes an individual cell.

ColIndex

The zero-based column number.  The combination of ItemIndex and ColIndex describes an individual cell.

Data

Defines a cell's application specific string value.

Comments

Deprecated - Provided for compatibility with earlier versions only - Cell.DataString instead

The CellItemDataString property defines a cell's application specific string value.

The Cell.Data, Cell.DataObject, Cell.DataTag properties can be used to store additional application specific data, using other data types (numeric values, objects, variants).

Additional properties used to associate an application defined value with an item are Item.Data, Item.DataTag, Item.DataObject, Item.DataFloat and Item.DataString.  These are distinct properties and can be used at the same time.

See Also  SftTree Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com